package com.yx.shop.dao;

import com.yx.shop.entitly.User;

/**
 * @Classname UserDao
 * @Description TODO:
 * @Date 2021/05/06 16:53
 * @Created by yx
 */
public interface UserDao {
    User getUserByName(String name);

    int register(User user);

    User getUserByEmail(String email);

    int setUstatus(int uid, int actSuccess);
}
